x86 hvm: fix up the unified HAP nested-pagefault handler.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Dec 2009 18:46:14 +0000 (18:46 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Dec 2009 18:46:14 +0000 (18:46 +0000)
commit40e9da38fd8c75147fb9205c6fb6cf6a597d1127
tree7b7d8aa20cf974a0c657c4f74a8bf67d15937412
parent422f39c72e1a9890636a770cb93de05b93f0e605
x86 hvm: fix up the unified HAP nested-pagefault handler.
A guest PFN may have been marked dirty and switched to p2m_ram_rw by
another CPU between the VMEXIT and lookup in this handler, so
we can't just check for p2m_ram_logdirty.  Also, handle_mmio
doesn't handle passthrough MMIO.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/hvm/hvm.c